package com.wwmz.composite.pattern.demo.safe;

/**
 * Created by wumz on 2020/9/20 0:41
 */
public class File extends Directory {

    public File(String name) {
        super(name);
    }

    @Override
    public void show() {
        System.out.println(this.name);
    }

}
